extends ../layout

block style
block prevScript

block content
  ul
    each item in list
      if item.subLink
        li= `${item.name}`
          ul
            each subItem in item.subLink
              li
                a(href=`${subItem.url(bp)}`)= `${subItem.name}`
      else
        li
          a(href=`${item.url(bp)}`)= `${item.name}`